﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊外配处方明细
    /// </summary>
    public partial class MzysTbWpcfmx
    {
        /// <summary>
        /// 主键 处方明细ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 处方ID
        /// </summary>
        public long RecipeId { get; set; }
        /// <summary>
        /// 药品名称
        /// </summary>
        public string ItemName { get; set; } = null!;
        /// <summary>
        /// 单次用量
        /// </summary>
        public decimal? Dose { get; set; }
        /// <summary>
        /// 剂量单位 医院字典类型66
        /// </summary>
        public int? DoseUnit { get; set; }
        /// <summary>
        /// 用量单位 医院字典类型67
        /// </summary>
        public int? DosePackUnit { get; set; }
        /// <summary>
        /// 频次 MZYS_TB_YPYF.yflsh
        /// </summary>
        public int? Freq { get; set; }
        /// <summary>
        /// 给药途径 医院字典类型31
        /// </summary>
        public int? Usage { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }
        /// <summary>
        /// 数量单位 医院字典类型67
        /// </summary>
        public int? QuantityUnit { get; set; }
        /// <summary>
        /// 明细序号
        /// </summary>
        public int SeqNum { get; set; }
        /// <summary>
        /// 院区ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 有效状态 1有效 0无效
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
